<% # locals: question_version, f %>
<% section = question_version.question.question_list.section %>

<div id=<%= raw "question_question_types_#{question_version.id}" %>>

  <p id=<%= raw "question_question_types_name_#{question_version.id}" %>>
    <%= question_version.question_type.name %>
  </p>

  <% if defined? f %>

    <%= f.hidden_field :question_type_id, id: "question_type_id_#{question_version.id}",
        value: question_version.question_type_id %>
    <%= question_type_changed_tag(question_version) %>

    <p>可选类型：</p>
    <ul>
      <% section.question_types.each do |question_type| %>
        <%= question_type_selection(question_version, question_type) %>
      <% end %>
    </ul>

  <% end %>

</div>
